<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="signupForm">
                        <input id="id" name="id" th:value="${account.id}" type="hidden">
                        <input id="channelid" name="channelid" th:value="${account.channelid}"
                               type="hidden">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">用户名：</label>
                            <div class="col-sm-8">
                                <input id="username" name="username" th:value="${account.username}" class="form-control"
                                       maxlength="30" type="text">
                            </div>
                        </div>
                        <!--<div class="form-group">
                            <label class="col-sm-3 control-label">md5加密存储：</label>
                            <div class="col-sm-8">
                                <input id="password" name="password" th:value="${account.password}" class="form-control"
                                       onkeyup="this.value=this.value.replace(/[^\w]/g,'')"
                                       onpaste="this.value=this.value.replace(/[^\w]/g,'')" maxlength="30" type="text">
                            </div>
                        </div>-->
                        <div class="form-group">
                            <label class="col-sm-3 control-label">用户状态：</label>
                            <div class="col-sm-8">
                                <select id="accounttype" name="accounttype" class="form-control">
                                    <option value="1">正常</option>
                                    <option value="0">删除</option>
                                </select>
                            </div>
                            <input id="accounttypehiden" name="accounttypehiden"
                                   th:value="${account.accounttype}"
                                   type="hidden">
                        </div>
                        <div class="form-group">
                            <div class="col-sm-8 col-sm-offset-3">
                                <button type="submit" class="btn btn-primary">提交</button>
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <button type="button" style="display: none" id="resetPasswd" onclick="resetPassword()"
                                        class="btn btn-warning btn-sm waves-effect waves-light m-b-5">重置密码
                                </button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript" src="/js/appjs/market/account/edit.js">
</script>
</body>
</html>
